import api from '../../api';

export default class IndexService {
    getDevelopment(data, config) {
        // return api.post('/login');
        return api.post('/gapHomePage/getDevelopment', data, config);
    }
    getHomeConfig(data, config) {
        // return api.post('/login');
        return api.post('/gapHomePage/getHomeConfig', data, config);
    }
    login() {
        return api.post('/login');
        // return api.post('/singlePoetry');
    }
    logout() {
        return api.post('/logout');
        // return api.post('/singlePoetry');
    }
}